Autogenerated HTML docs for v1.7.5.1-289-g2de58b
diff --git a/git-config.html b/git-config.html index 3300e28..61bd574 100644 --- a/git-config.html +++ b/git-config.html
@@ -2125,6 +2125,83 @@ </p> </dd> <dt class="hdlist1"> +diff.dirstat +</dt> +<dd> +<p> + A comma separated list of <tt>--dirstat</tt> parameters specifying the + default behavior of the <tt>--dirstat</tt> option to <a href="git-diff.html">git-diff(1)</a>` + and friends. The defaults can be overridden on the command line + (using <tt>--dirstat=<param1,param2,…></tt>). The fallback defaults + (when not changed by <tt>diff.dirstat</tt>) are <tt>changes,noncumulative,3</tt>. + The following parameters are available: +</p> +<div class="dlist"><dl> +<dt class="hdlist1"> +<tt>changes</tt> +</dt> +<dd> +<p> + Compute the dirstat numbers by counting the lines that have been + removed from the source, or added to the destination. This ignores + the amount of pure code movements within a file. In other words, + rearranging lines in a file is not counted as much as other changes. + This is the default behavior when no parameter is given. +</p> +</dd> +<dt class="hdlist1"> +<tt>lines</tt> +</dt> +<dd> +<p> + Compute the dirstat numbers by doing the regular line-based diff + analysis, and summing the removed/added line counts. (For binary + files, count 64-byte chunks instead, since binary files have no + natural concept of lines). This is a more expensive <tt>--dirstat</tt> + behavior than the <tt>changes</tt> behavior, but it does count rearranged + lines within a file as much as other changes. The resulting output + is consistent with what you get from the other <tt>--*stat</tt> options. +</p> +</dd> +<dt class="hdlist1"> +<tt>files</tt> +</dt> +<dd> +<p> + Compute the dirstat numbers by counting the number of files changed. + Each changed file counts equally in the dirstat analysis. This is + the computationally cheapest <tt>--dirstat</tt> behavior, since it does + not have to look at the file contents at all. +</p> +</dd> +<dt class="hdlist1"> +<tt>cumulative</tt> +</dt> +<dd> +<p> + Count changes in a child directory for the parent directory as well. + Note that when using <tt>cumulative</tt>, the sum of the percentages + reported may exceed 100%. The default (non-cumulative) behavior can + be specified with the <tt>noncumulative</tt> parameter. +</p> +</dd> +<dt class="hdlist1"> +<limit> +</dt> +<dd> +<p> + An integer parameter specifies a cut-off percent (3% by default). + Directories contributing less than this percentage of the changes + are not shown in the output. +</p> +</dd> +</dl></div> +<div class="paragraph"><p>Example: The following will count changed files, while ignoring +directories with less than 10% of the total amount of changed files, +and accumulating child directory counts in the parent directories: +<tt>files,10,cumulative</tt>.</p></div> +</dd> +<dt class="hdlist1"> diff.external </dt> <dd>